import { ys, ysUtils } from "ys-ts";

import App from "../../components/layouts/app/Index.vue";
import login from "../../components/pages/other/Login.vue";

export const appConfigName = "app";

let app = ys.getRouterConfig(appConfigName, {
  path: "/",
  name: "app",
  component: App
});

app.addChildren(
  new ysUtils.YsRouteRecord({
    path: "other/login",
    name: "login",
    component: login
  })
);
